Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 10 - Group Objects / Group Objects Reference
Group Objects Routines / Managing Groups


Q3Group_RemovePosition

You can use the Q3Group_RemovePosition function to remove an object from a group.

TQ3Object Q3Group_RemovePosition (
TQ3GroupObject group, 
TQ3GroupPosition position);
group
A group.
position
A group position.
DESCRIPTION
The Q3Group_RemovePosition function removes the object having the group position specified by the position parameter from the group specified by the group parameter. After you call Q3Group_RemovePosition, the position specified by the position parameter is invalid. Q3Group_RemovePosition returns, as its function result, the object removed from the group. If an error occurs when removing the object from the group, Q3Group_RemovePosition returns NULL.

ERRORS
kQ3ErrorInvalidObject
kQ3ErrorInvalidPositionForGroup


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996